<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ..\sdschemas\SDA.xsd">
  <realmCode code="CN"/>
  <typeId root="2.16.840.1.113883.1.3" extension="POCD_MT000040"/>
  <templateId root="2.16.156.10011.2.1.1.6" extension="DT2011001"/>
  <id root="2.16.156.10011.1.1.1.2" extension="${docData.id}"/>
  <code code="HSDB02.02" codeSystem="2.16.156.10011.2.4" codeSystemName="卫生信息共享文档规范编码体系"/>
  <title>产前随访服务</title>
  <effectiveTime value="${docData.effectiveTime}"/>
  <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" displayName="正常访问保密级别" codeSystemName="Confidentiality"/>
  <languageCode code="zh-CN"/>
  <setId/>
  <versionNumber/>
  <recordTarget contextControlCode="OP">
    <patientRole>
      <id root="2.16.156.10011.1.2" extension="${docData.patientRole.id}"/>
      <patient>
        <#if docData.patientRole.patient.id??>
        <id root="2.16.156.10011.1.3" extension="${docData.patientRole.patient.id}"/>
        </#if>
        <name>${docData.patientRole.patient.name}</name>
      </patient>
    </patientRole>
  </recordTarget>
  <#include "fragment/header/author.ftl">
  <#include "fragment/header/custodian.ftl">
  <relatedDocument typeCode="RPLC">
    <parentDocument moodCode="EVN" classCode="DOCCLIN">
      <id root="2.16.156.10011.1.1.1.2" extension="D2011000000"/>
      <setId/>
      <versionNumber/>
    </parentDocument>
  </relatedDocument>
  <component>
    <structuredBody>
      <component>
        <section>
          <code code="8716-3" codeSystem="2.16.840.1.113883.6.1" displayName="VITAL SIGNS" codeSystemName="LOINC"/>
          <text/>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE04.10.188.00" codeSystem="2.16.156.10011.2.2.1" displayName="体重" codeSystemName="卫生信息数据元目录"/>
              <value unit="kg" value="${docData.shengMingTZ.tiZhong}" xsi:type="PQ"/>
            </observation>
          </entry>
          <entry>
            <organizer moodCode="EVN" classCode="BATTERY">
              <code displayName="血压"/>
              <statusCode/>
              <component>
                <observation moodCode="EVN" classCode="OBS">
                  <code code="DE04.10.174.00" codeSystem="2.16.156.10011.2.2.1" displayName="收缩压" codeSystemName="卫生信息数据元目录"/>
                  <value unit="mmHg" value="${docData.shengMingTZ.shouSuoYa}" xsi:type="PQ"/>
                </observation>
              </component>
              <component>
                <observation moodCode="EVN" classCode="OBS">
                  <code code="DE04.10.176.00" codeSystem="2.16.156.10011.2.2.1" displayName="舒张压" codeSystemName="卫生信息数据元目录"/>
                  <value unit="mmHg" value="${docData.shengMingTZ.shuZhangYa}" xsi:type="PQ"/>
                </observation>
              </component>
            </organizer>
          </entry>
        </section>
      </component>
      <component>
        <section>
          <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" displayName="PROBLEM LIST" codeSystemName="LOINC"/>
          <text/>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE04.10.242.00" codeSystem="2.16.156.10011.2.2.1" displayName="孕周" codeSystemName="卫生信息数据元目录"/>
              <value unit="PQ" value="${docData.jianKangWT.yunZhou}" xsi:type="PQ"/>
            </observation>
          </entry>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE04.01.119.00" codeSystem="2.16.156.10011.2.2.1" displayName="主诉" codeSystemName="卫生信息数据元目录"/>
              <value xsi:type="ST">${docData.jianKangWT.zhuSu}</value>
            </observation>
          </entry>
        </section>
      </component>
      <component>
        <section>
          <code code="57073-9" codeSystem="2.16.840.1.113883.6.1" displayName="Prenatal events" codeSystemName="LOINC"/>
          <text/>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE04.10.067.00" codeSystem="2.16.156.10011.2.2.1" displayName="宫底高度" codeSystemName="卫生信息数据元目录"/>
              <value unit="cm" value="${docData.chanQianJC.gongDiGD}" xsi:type="PQ"/>
            </observation>
          </entry>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE04.10.052.00" codeSystem="2.16.156.10011.2.2.1" displayName="腹围" codeSystemName="卫生信息数据元目录"/>
              <value unit="cm" value="${docData.chanQianJC.fuWei}" xsi:type="PQ"/>
            </observation>
          </entry>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE05.01.044.00" codeSystem="2.16.156.10011.2.2.1" displayName="胎方位代码" codeSystemName="卫生信息数据元目录"/>
              <value code="${docData.chanQianJC.taiFangW.code}" xsi:type="CD" codeSystem="2.16.156.10011.2.3.1.106" displayName="${docData.chanQianJC.taiFangW.displayName}" codeSystemName="胎方位代码表"/>
            </observation>
          </entry>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE04.10.183.00" codeSystem="2.16.156.10011.2.2.1" displayName="胎心率" codeSystemName="卫生信息数据元目录"/>
              <value unit="次/分钟" value="${docData.chanQianJC.xinLv}" xsi:type="PQ"/>
            </observation>
          </entry>
        </section>
      </component>
      <component>
        <section>
          <code code="30954-2" codeSystem="2.16.840.1.113883.6.1" displayName="STUDIES SUMMARY" codeSystemName="LOINC"/>
          <text/>
          <entry>
            <organizer moodCode="EVN" classCode="BATTERY">
              <statusCode/>
              <component typeCode="COMP">
                <observation moodCode="EVN" classCode="OBS">
                  <code code="DE04.50.091.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="血红蛋白"/>
                  <value unit="g/L" value="${docData.chanQianSYS.xueHongDB}" xsi:type="PQ"/>
                </observation>
              </component>
            </organizer>
          </entry>
          <entry>
            <organizer moodCode="EVN" classCode="BATTERY">
              <statusCode/>
              <component typeCode="COMP">
                <observation moodCode="EVN" classCode="OBS">
                  <code code="DE04.50.050.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="尿蛋白"/>
                  <#if docData.chanQianSYS.niaoDanBJG.code??>
                  <value code="${docData.chanQianSYS.niaoDanBJG.code}" displayName="${docData.chanQianSYS.niaoDanBJG.displayName}" xsi:type="CD" codeSystemName="尿实验室定性检测结果代码表" codeSystem="2.16.156.10011.2.3.1.95"/>
                  </#if>
                </observation>
              </component>
            </organizer>
          </entry>
        </section>
      </component>
      <component>
        <section>
          <code displayName="辅助检查"/>
          <text/>
        </section>
      </component>
      <component>
        <section>
          <code code="51848-0" codeSystem="2.16.840.1.113883.6.1" displayName="Assessment note" codeSystemName="LOINC"/>
          <text/>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE05.10.125.00" codeSystem="2.16.156.10011.2.2.1" displayName="孕产妇健康评估异常标志" codeSystemName="卫生信息数据元目录"/>
              <value value="${docData.jianKangPG.yiChangBZ}" xsi:type="BL"/>
               <#if docData.jianKangPG.yiChangMS??>
              <entryRelationship typeCode="COMP">
                <observation moodCode="EVN" classCode="OBS">
                  <code code="DE05.10.126.00" codeSystem="2.16.156.10011.2.2.1" displayName="孕产妇健康评估异常结果描述" codeSystemName="卫生信息数据元目录"/>
                  <value xsi:type="ST">${docData.jianKangPG.yiChangMS}</value>
                </observation>
              </entryRelationship>
               </#if>
            </observation>
          </entry>
        </section>
      </component>
      <component>
        <section>
          <code code="69730-0" codeSystem="2.16.840.1.113883.6.1" displayName="Instructions" codeSystemName="LOINC"/>
          <text/>
           <#list docData.jianKangZD as item>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE06.00.152.00" codeSystem="2.16.156.10011.2.2.1" displayName="孕产妇健康指导类别代码" codeSystemName="卫生信息数据元目录"/>
              <value code="${item.zhiDao.code}" xsi:type="CD" codeSystem="2.16.156.10011.2.3.1.195" displayName="${item.zhiDao.displayName}" codeSystemName="孕产妇健康指导类别代码表"/>
            </observation>
          </entry>
          </#list>
        </section>
      </component>
      <component>
        <section>
          <code code="18776-1" codeSystem="2.16.840.1.113883.6.1" displayName="referal" codeSystemName="LOINC"/>
          <text/>
          <entry>
            <observation moodCode="EVN" classCode="OBS">
              <code code="DE06.00.174.00" codeSystem="2.16.156.10011.2.2.1" displayName="转诊标志" codeSystemName="卫生信息数据元目录"/>
              <value value="${docData.zhuanZhenJY.zhuanZhenBZ}" xsi:type="BL"/>
              <#if docData.zhuanZhenJY.zhuanRuKS??>
              <entryRelationship typeCode="CAUS" negationInd="false">
                <act moodCode="APT" classCode="INFRM" negationInd="false">
                  <code code="DE06.00.177.00" codeSystem="2.16.156.10011.2.2.1" displayName="转诊原因" codeSystemName="卫生信息数据元目录"/>
                  <text>${docData.zhuanZhenJY.zhuanZhenYY}</text>
                  <performer>
                    <time/>
                    <assignedEntity>
                      <id/>
                      <representedOrganization>
                        <name>${docData.zhuanZhenJY.zhuanRuKS}</name>
                        <asOrganizationPartOf>
                          <wholeOrganization>
                            <name>${docData.zhuanZhenJY.zhuanRuJG}</name>
                          </wholeOrganization>
                        </asOrganizationPartOf>
                      </representedOrganization>
                    </assignedEntity>
                  </performer>
                </act>
              </entryRelationship>
              </#if>
            </observation>
          </entry>
        </section>
      </component>
      <component>
        <section>
          <code displayName="下次随访安排"/>
          <text/>
          <entry>
            <observation moodCode="DEF" classCode="OBS">
              <code code="DE06.00.109.00" codeSystem="2.16.156.10011.2.2.1" displayName="下次随访日期" codeSystemName="卫生信息数据元目录"/>
               <value value="${docData.xiaCiSF.xiaCiSFSJ}" xsi:type="TS"/>
            </observation>
          </entry>
          <entry>
            <observation moodCode="DEF" classCode="OBS">
              <code code="DE02.01.057.00" codeSystem="2.16.156.10011.2.2.1" displayName="下次访视地点" codeSystemName="卫生信息数据元目录"/>
              <value xsi:type="ST">${docData.xiaCiSF.diDian}</value>
            </observation>
          </entry>
        </section>
      </component>
    </structuredBody>
  </component>
</ClinicalDocument>